projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d799c5
)
[XEND] Fix test for when to record HVM VNC console as a VFB.
author
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 20 Apr 2007 16:32:30 +0000
(17:32 +0100)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 20 Apr 2007 16:32:30 +0000
(17:32 +0100)
This code may still need more work to properly integrate HVM SDL consoles.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index a85be3fae6c6a897142029e40148771615d8e1ec..5082b274cc5964ea0dada5d004829154497860bf 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-691,7
+691,7
@@
class XendConfig(dict):
self['vtpm_refs'] = cfg.get('vtpm_refs', [])
# coalesce hvm vnc frame buffer with vfb config
- if self.is_hvm() and
self['platform'].get('vnc', 0)
:
+ if self.is_hvm() and
int(self['platform'].get('vnc', 0)) != 0
:
# add vfb device if it isn't there already
has_rfb = False
for console_uuid in self['console_refs']: